- page_title _('Chat')
- @hide_search_settings = true
- @force_desktop_expanded_sidebar = true

.settings-section.js-search-settings-section.gl-mt-3
  .settings-sticky-header
    .settings-sticky-header-inner
      %h4.gl-my-0
        = page_title

  %h5.gl-font-lg.gl-mt-0
    = sprintf(_('Active chat names (%{count})'), { count: @chat_names.size })

  - if @chat_names.present?
    .table-responsive
      %table.table
        %thead
          %tr
            %th= _('Team domain')
            %th= _('Nickname')
            %th= _('Last used')
            %th
        %tbody
          = render @chat_names

  - else
    .gl-text-secondary.settings-message
      = _("You don't have any active chat names.")
